package com.uduemc.biso.master.backend.service;

import java.io.IOException;
import java.util.List;

import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.github.pagehelper.PageInfo;
import com.uduemc.biso.core.common.dto.CBNodemanageSiteList;
import com.uduemc.biso.core.common.extities.CHostData;
import com.uduemc.biso.core.extities.center.Host;
import com.uduemc.biso.core.extities.center.SysHostType;
import com.uduemc.biso.core.extities.center.SysLanguage;

public interface HostService {

	public List<SysHostType> getHostType()
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public List<SysLanguage> getSysLanguage()
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public PageInfo<CHostData> getHostDataList(CBNodemanageSiteList cBNodemanageSiteList)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public Host getHost(long id, long agentId)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public Host getHost(long id) throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

	public Host updateHost(Host host)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;
}
